﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BZLib.Global;
using BZLib.Flags;

namespace BZLib
{
    public class Player
    {
        public int ID;
        public bool Admin;
        public bool Registered;
        public bool Verified;
        public System.Net.IPAddress IPAddress;
        public TeamName Team;
        public string Callsign;
        public string Email;
        public Flag Flag;
        public int Wins;
        public int Losses;
        public int TKs;
        public PlayerState State;
        public bool Autopilot;

        public Player()
        {
            ID = -1;
            Admin = false;
            Registered = false;
            Verified = false;
            IPAddress = null;
            Team = TeamName.NoTeam;
            Callsign = "";
            Email = "";
            Flag = new Flag();
            Wins = 0;
            Losses = 0;
            TKs = 0;
            State = PlayerState.Dead;
            Autopilot = false;
        }
    }
}
